package com.ruoyi.project.system.detail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 得分明细对象 score_detail
 * 
 * @author ruoyi
 * @date 2021-02-22
 */
public class ScoreDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 得分主表id */
    @Excel(name = "得分主表id")
    private Long scoreMainId;

    /** 得分明细名称 */
    @Excel(name = "得分明细名称")
    private String scoreName;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setScoreMainId(Long scoreMainId)
    {
        this.scoreMainId = scoreMainId;
    }

    public Long getScoreMainId()
    {
        return scoreMainId;
    }
    public void setScoreName(String scoreName)
    {
        this.scoreName = scoreName;
    }

    public String getScoreName()
    {
        return scoreName;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scoreMainId", getScoreMainId())
            .append("scoreName", getScoreName())
            .append("score", getScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
